﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Curry.Forum.Infrastructure
{
    public static class DataSource
    {
        static DataSource()
        {
        }

        public static IDbConnection GetConnection()
        {
            var connsql = ConfigSettings.ForumConnectionString;
            return new SqlConnection(connsql);
        }
    }
}
